package io.file;

enum MenuOption {
	READB, READC, WRITEB, WRITEC, EXIT, NOVALUE;

	static MenuOption toEnum(String userName) {
		try {
			return valueOf(userName.toUpperCase());
		} catch (Exception ex) {
			return NOVALUE;
		}
	}

}
